moved checks upon focus setting from gtk_window_real_set_focus to
authorTim Janik <timj@gtk.org>
Thu, 3 Dec 1998 06:52:48 +0000 (06:52 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 3 Dec 1998 06:52:48 +0000 (06:52 +0000)
commit1ec6733573ac3d0ff8d7359f25adc45fb0f42376
tree91f413467b168e8f8e29298888726fbbb429634e
parent7cc3040412061f147c21c3c701bd211458029f9d
moved checks upon focus setting from gtk_window_real_set_focus to

Thu Dec  3 06:20:59 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c: moved checks upon focus setting from
        gtk_window_real_set_focus to gtk_window_set_focus, so we don't
        emit the signal if unneccessary.

        * gtk/gtkwidget.c (gtk_widget_grab_focus): clear up the old focus
        containers when grabbing focus on a new widget. this is based on
        a patch from Alexis Mikhailov, submitted to gtk-list on 4 Nov 1998.

        * gtk/gtkclist.c (gtk_clist_focus_out): set CLIST_CHILD_HAS_FOCUS
        flag, so we take the buttons into consideration upon the next focus
        request.

        * gtk/gtkcontainer.c (gtk_container_set_focus_child): fixed an
        assertment.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkclist.c
gtk/gtkcontainer.c
gtk/gtkwidget.c
gtk/gtkwindow.c